package com.pets.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 课程管理
 * </p>
 *
 * @author 小陳同學
 * @since 2024-05-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("course_management")
@ApiModel(value="CourseManagement对象", description="课程管理")
public class CourseManagement implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "课程ID")
    @TableId(value = "course_id", type = IdType.AUTO)
    private Integer courseId;

    @ApiModelProperty(value = "课程名称")
    private String courseName;

    @ApiModelProperty(value = "课程教练")
    private Integer userId;

    @ApiModelProperty(value = "课程日期（枚举）")
    private Integer courseData;

    @ApiModelProperty(value = "课程时间段（枚举）")
    private Integer courseTimeSlot;

    @ApiModelProperty(value = "课程类型（枚举）")
    private Integer courseTypesOf;

    @ApiModelProperty(value = "消耗会员次数")
    private Integer consumptionFrequency;

}
